import Layout from '@/views/layout/Layout'

const warehouseCenter = {
    path: "/warehouseCenter",
    component: Layout,
    name: "warehouseCenter",
    alwaysShow: true,
    meta: {
      title: "仓库中心",
      icon: "warehouse",
      roles: 'wms_center'
    },
    children:[
        {
            path: "/whAddress",
            component: ()=>import('@/views/warehouseCenter/warehouseAdd/index'),
            name: "warehouseAdd",
            meta: {
                title: "仓库配送地址管理",
                roles: 'wms_center_repertory_address_mgr'
            }
        },
        {
            path: "/delivery",
            component: ()=>import('@/views/warehouseCenter/delivery/delivery'),
            name: "delivery",
            meta: {
                title: "寄卖收货管理",
                roles: 'consign_receive_mgrs'
            }
        }
    ]
}

export default warehouseCenter
